﻿using log4net;

namespace HomeRun.Utils
{
    public static class Logger
    {
        private static readonly ILog loglogger = LogManager.GetLogger("HomeRun.Log");
        private static readonly ILog cmdlogger = LogManager.GetLogger("HomeRun.Cmd");

        static public void LogCmd(string cmd)
        {
            cmdlogger.Info(cmd);
        }

        static public void LogError(string err)
        {
            loglogger.Error(err);
        }

        static public void LogWarning(string warning)
        {
            loglogger.Warn(warning);
        }
    }
}
